package com.example.hand.repository;

import com.example.hand.dataobject.CarBrand;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;



public interface BrandRepository extends JpaRepository<CarBrand,Integer> {

    Page<CarBrand> findAllByOrderByBrandPriorityDesc(Pageable pageable);
}
